package com.gamificationlibrary.model.leaderboard;

import java.io.Serializable;

import com.gamificationlibrary.model.Player;
import com.gamificationlibrary.model.Score;

public class LeaderboardRow implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -21012977536302717L;
	private int rank;
	private Player player;
	private Score score;
	
	public LeaderboardRow(Player player,Score score)
	{
		this.setRank(0);
		this.setPlayer(player);
		this.setScore(score);
	}

	public Score getScore() {
		return score;
	}

	public void setScore(Score score) {
		this.score = score;
	}

	public Player getPlayer() {
		return player;
	}

	public void setPlayer(Player player) {
		this.player = player;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}
}
